package service

import (
	"xinyu/model"
	"xinyu/repository"
)

type ITestService interface {
	SelectByOne() *model.CrmBanner
}

type TestService struct {
	Repo repository.ITestRepo
}

func (srv *TestService) SelectByOne() *model.CrmBanner {
	return srv.Repo.SelectByOne()
}
